<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<style type="text/css">
body {
	height: 100%;
	width:100%;
	/* background-image: url(images/0.jpg);
	background-repeat: no-repeat;
	background-size: 100% 100%; */
}
form {
width: 400px;
position: absolute;
left:50%;top:30%; 
margin-left:-200px;margin-top:-100px;	
}
</style>
</head>
<body>
<form action="" onsubmit="this.action=this.select.value" method="post">
  <div class="form-group">
    <label for="exampleInputEmail1">用户名</label>
    <input class="form-control" name="username" type="text" placeholder="请输入用户名">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">密码</label>
    <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码">
  </div>
  <div class="form-group">
    <label for="exampleFormControlSelect1">用户类型</label>
    <select class="form-control" name="select" id="exampleFormControlSelect1">
      <option value="stulogin">学生</option>
      <option value="tealogin">教师</option>
      <option value="admlogin">管理员</option>
    </select>
  </div>
  <button type="submit" class="btn btn-primary">登录</button>
</form>
</body>
</html>